/*
 * @userName: 湫之恋
 * @Author: Seven
 * @Date: 2020-07-01 17:17:19
 * @LastEditors: Seven
 * @LastEditTime: 2020-07-01 20:10:26
 */
var express = require('express')
var router = express.Router();

const {getEstimateAll,getEstimateByEstimateNumber} = require('../../service/estimate/estimate');
router.get('/getEstimateAll',async function(req,res,next){
  res.send(await getEstimateAll(req.query))
})

// 根据评价查询
router.get('/getEstimateByEstimateNumber',async function(req,res,next){
  res.send(await getEstimateByEstimateNumber(req.query));
})


module.exports = router;